* {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

li {
    list-style: none;
}

img {
    display: block;
}

h1,
h2,
h3,
h4,
b {
    font-weight: normal;
}

html {
    font-size: 13.333vw;
}

html,
body {
    height: 100%;
    background: #eee;
    display: flex;
    flex-direction: column;

}

header {
    height: 7.26rem;
    position: relative;
    /* background: pink */
}

.swiper-container {
    height: 7.26rem;
        /* height: 100%; */
}

.swiper-slide {
    width: 100%;
    height: 100%;
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

section {
    flex: 1;
    box-sizing: border-box;
    padding-top: 0
}

section .detail {
    width: 7.5rem;
    height: 6.07rem;
    position: fixed;
    bottom: 0;
    border-radius: 0.1rem 0.1rem 0 0;
    background: #fff;
}

.d-top {
    height: 2.76rem;
    width: 6.9rem;
    border-bottom: 0.04rem solid #eeeeee;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.goods-img {
    width: 1.94rem;
    height: 1.94rem;
    background: #eeeeee;
    margin-left: 0.3rem;
    margin-right: 0.6rem;
}

.g-logo {
    font-size: .22rem;
    color: #141414;
    width: 3rem;
    margin: 0 0 0.2rem;
}

.g-name {
    font-size: .22rem;
    color: #141414;
    width: 3rem;
    margin: 0 0 0.2rem;
}

.g-price {
    font-size: .22rem;
    color: #ed3933;
    width: 3rem;
    margin: 0 0 0.2rem;
}

.g-amount {
    font-size: .22rem;
    color: #e8b32a;
    width: 3rem;
}

.cancel {
    color: #101010;
    font-size: .28rem;
    align-self: flex-start;
    margin-top: 0.3rem;
    margin-left: 0.9rem;
}

.d-mid {
    height: 0.76rem;
    width: 6.9rem;
    border-bottom: 0.04rem solid #eeeeee;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.i-color,
.i-size {
    width: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.color-s {
    font-size: .22rem;
    color: #101010;
}

.color-o {
    width: 0.16rem;
    height: 0.1rem;
}

.size-s {
    font-size: .22rem;
    color: #101010;
}

.size-o {
    width: 0.16rem;
    height: 0.1rem;
}

.fenge {
    font-size: .5rem;
    color: #eeeeee;
}


.d-bot {
    height: 0.76rem;
    width: 6.9rem;
    border-bottom: 0.04rem solid #eeeeee;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.d-bot .subBtn,
.d-bot .addBtn,
.d-bot .numIpt {
    border: none;
    outline: none;
    text-align: center;
}

.d-bot .subBtn,
.d-bot .addBtn {
    background: #f9f9f9;
    width: 0.5rem;
    height: 0.5rem;
}

.d-foo {
    display: flex;
    justify-content: space-around;
}

.cart,
.buy {
    width: 3.24rem;
    height: 0.8rem;
    background: #eeeeee;
    color: #101010;
    font-size: .28rem;
    border-radius: .1rem;
    margin-top: .64rem;
    display: flex;
    justify-content: center;
    align-items: center;
}